package org.topic.discount;

import org.topic.user.ShoopingCart;

import java.math.BigDecimal;

/**
 * 无折扣策略
 */
public class NoDiscount implements DiscountStrategy {

    @Override
    public BigDecimal applyDiscount(BigDecimal subtotal, ShoopingCart cart) {
        return subtotal;
    }
}
